export default (mc) => {
  const sec = parseInt(mc / 1000);
  let s = sec % 60;
  const m = parseInt(sec / 60) % 60;
  const h = parseInt(parseInt(sec / 60) / 60);
  s = s <= 9 && s >= 1 ? "0" + s : s;
  if (h === 0) {
    if (m === 0) {
      return `${s}秒`;
    } else {
      return `${m}分${s}秒`;
    }
  } else {
    return `${h}时${m}分${s}秒`;
  }
};
